.. _MFPMediaPlayer_GetVideoWindow: ============================= MFPMediaPlayer_GetVideoWindow ============================= Gets the window where the video is displayed. :: MFPMediaPlayer_GetVideoWindow PROTO MediaPlayer:DWORD, phwndVideo:DWORD **Parameters** * ``MediaPlayer`` - A pointer to the Media Player (`IMFPMediaPlayer `_) object. * ``phwndVideo`` - A pointer to a variable to hold the window handle. **Returns** TRUE if successful or FALSE otherwise. **Notes** The video window is specified when you first call :ref:`MFPMediaPlayer_Init` to create the MFPlay player object. **See Also** :ref:`MFPMediaPlayer_Init`, :ref:`MFPMediaPlayer_UpdateVideo`